package com.neusoft.a312cxy.android18cxy.service;

import com.neusoft.a312cxy.android18cxy.bean.ClubCourseBean;
import com.neusoft.a312cxy.android18cxy.bean.ClubInfo;
import com.neusoft.a312cxy.android18cxy.bean.ClubListBean;

import java.util.List;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by Young on 2017/9/30.
 */

public interface ClubService {

    @GET("lists/mod/Club")
    Call<List<ClubListBean>> getClubList(
            @Query("SessionID") String sessionId,
            @Query("page") int page
    );
    @GET("get/mod/club")
    Call <ClubInfo> getClubInfo (
          //  @Query("SessionID") String sessionId,
            @Query("id") int id

    );

    @GET("get/mod/club/")
    Call <ClubCourseBean> getClubInfoList (
            //  @Query("SessionID") String sessionId,
            @Query("related") int related,
            @Query("id") int id

    );
    @GET("focus/")
    Call <String> guanzhu (
            //  @Query("SessionID") String sessionId,
            @Query("userid") String userid,
            @Query("fan_id") String fan_id,
            @Query("fans_type") String fans_type

    );
    @GET("isExits/mod/isExits/mod/fans/")
    Call<String> IsCollection(
            @Query("fan_id") String fan_id,
            @Query("userid") String userid,
            @Query("fans_type") String fans_type

    );

    //训练报名
    @GET("create/mod/signcourse/")
    Call<String> signcourse(

            @Query("participantname") String participantname,
            @Query("course_id") String course_id,
            @Query("participanttel") String participanttel,
            @Query("adultnum") String adultnum,//1
            @Query("paytype") String paytype,
            @Query("pay") String pay,
            @Query("paynotice") String paynotice,
            @Query("userid") int userid
         //   @Path("SessionID") String SessionID
    );

}
